package ru.urfc.portal.model;

import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.MappedSuperclass;
import javax.xml.bind.annotation.XmlTransient;

@MappedSuperclass
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class SysObjectWithClient extends SysObject {
	
	private Client client;
	
	public SysObjectWithClient() {
	}
	
	public SysObjectWithClient(Client client) {
		this.client = client;
	}
	
	@XmlTransient
	public Client getClient() {
		return client;
	}
	
}
